package com.hkd.cya.命令模式;

public class Client {
    public static void main(String[] args) {
        Command command1, command2;
        command1=new acadmicCommand();
        command2=new sprortCommand();
        Teacher teacher=new Teacher(command1,command2);
        teacher.task1();
        teacher.task2();
    }
}
